package com.alt.models;

import java.io.Serializable;

import com.alt.manager.ALTPTCMgr.ACCOUNT_LOG_TYPE;
import com.alt.shared.DataContract;

public class UserLogInfo extends DataContract implements Serializable {
	
	
	private static final long serialVersionUID = 6429462477540022118L;

	public ACCOUNT_LOG_TYPE AccountType = ACCOUNT_LOG_TYPE.NATIVE_ACCOUNT;
	
	public String UserId = "";
	
	public String Username = "";
	
	public String Password = "";
	
	public String FacebookID = "";
	
	public String getFacebookID() {
		return FacebookID;
	}

	public void setFacebookID(String facebookID) {
		FacebookID = facebookID;
	}

	public byte[] AvatarData;
	
	public String AvatarId = "";
	
	public String TotalUserFee = "0";

	// Save data to SharedMgr in ALTAppMgr
	public void save() {
	}

	public void load() {
	}
	
	public byte[] getImage() {
		return AvatarData;
	}

	public void setImage(byte[] avatarData) {
		this.AvatarData = avatarData;
	}

	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("Username: " + this.Username + "\n");
		sb.append("Password: " + this.Password + "\n");		
		sb.append("FacebookID: " + this.FacebookID + "\n");
		return sb.toString();
	}
}
